Description: 非常经典的哲学家进餐问题(与进程有关)有三个哲学家围着一张桌子,桌子上摆着一碗通心粉;桌子上有且只有三支筷子,且每只筷子摆放在每两个哲学家中间;哲学家必须得到两支筷子才能吃饭,否则就处于思考状态;每个哲学家取筷子必须先取得左边,而后取右边的。
-very classic philosophers dining (with the process) is a three philosophers around the table, on the table untouched bowl of macaroni; on the table and have only three chopsticks, chopsticks and every display in the middle of each 2 philosopher; Philosophers have to be two chopsticks to eat, otherwise we will be in a state of thinking; Each philosopher from chopsticks must first obtain the left, then from the right. Platform: |
Size: 532551 |
Author:小刚 |
Hits:
Description: 在Linux环境下,用C语言和信号量机制实现了五个哲学家进餐的互斥关系-the Linux environment, the C language and signal mechanism to achieve the volume of five philosophers dining mutex relations Platform: |
Size: 4032 |
Author:weixiang |
Hits:
Description: 五个哲学家,它们的生活方式是交替地进行思考和进餐。哲学家们共用一张圆桌,分别坐在周围的五张椅子上。在圆桌上有五个碗和五支筷子,平时一个哲学家进行思考,饥饿时便试图取用左、右最靠近他的筷子,只有在他拿到两支筷子时才能进餐,进餐毕,放下筷子又继续思考。-five philosophers, their lify style is alternately thinking and eating. philosophers share common table ,and sitting on five chairs around the table. There are five bowls and five chopsticks on the table. Usually,one philosopher thinks. And someone tries to get tow chopsticks the one is nearly his left and another is nearly right when he feel hungry, but only he should get a pair of chopsticks that he can dine. When after dining, he should put the chopsticks back and go on thinking. Platform: |
Size: 2610 |
Author:天马行空 |
Hits:
Description: 五个哲学家,它们的生活方式是交替地进行思考和进餐。哲学家们共用一张圆桌,分别坐在周围的五张椅子上。在圆桌上有五个碗和五支筷子,平时一个哲学家进行思考,饥饿时便试图取用左、右最靠近他的筷子,只有在他拿到两支筷子时才能进餐,进餐毕,放下筷子又继续思考。-five philosophers, their lify style is alternately thinking and eating. philosophers share common table ,and sitting on five chairs around the table. There are five bowls and five chopsticks on the table. Usually,one philosopher thinks. And someone tries to get tow chopsticks the one is nearly his left and another is nearly right when he feel hungry, but only he should get a pair of chopsticks that he can dine. When after dining, he should put the chopsticks back and go on thinking. Platform: |
Size: 2048 |
Author:天马行空 |
Hits:
Description: 利用信号量方法进行哲学家就餐问题的死锁避免,把哲学家分为三种状态,思考,饥饿,进食,仅当一个哲学家左右两边的筷子都可用时,才允许他拿筷子,并且一次拿到两只筷子,否则不拿-Use semaphores method dining philosophers problem of deadlock avoidance, the philosopher into three states, thinking, hunger, eating only when both sides of a philosopher chopsticks are available, only allowing him to use chopsticks, and a get two chopsticks, or do not take Platform: |
Size: 1024 |
Author:Qing |
Hits:
Description: Linux环境下,新型的,解决哲学家就餐问题和生产者消费者问题的算法。-Under Linux, a new solution to the dining philosophers problem algorithm. Platform: |
Size: 2048 |
Author:李林之 |
Hits:
Description: This an operating system, the multi-line said the demo about dining philosophers problem!-This is an operating system, the multi-line said the demo about dining philosophers problem! Platform: |
Size: 94208 |
Author:Ashvyw |
Hits:
Description: 经典同步问题中的哲学家进餐问题 材料:哲学家5个,筷子5只 进餐完放下筷子,-Classical philosophers dining problem in synchronization problems materials: philosophers 5, 5 only dine out put down the chopsticks, Platform: |
Size: 350208 |
Author:buernw |
Hits:
Description: 这是个操作系统中,多线称关于哲学家就餐问题的演示程序!很好不错-This is an operating system, the multi-line said the demo about dining philosophers problem! Platform: |
Size: 94208 |
Author:knqugbehpdd |
Hits:
Description: 这是个操作系统中,多线称关于哲学家就餐问题的演示程序!很好不错(This is an operating system, the multi-line said the demo about dining philosophers problem!) Platform: |
Size: 94208 |
Author:trothehv
|
Hits: